POST
/
api
/
v3
/
sites
/
{site_uuid}
/
invite
curl --request POST \
  --url https://cloud.volttime.com/api/v3/sites/{site_uuid}/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "gbailey@example.net",
  "transfer_ownership": false,
  "data_access": true,
  "data_access_expires_at": "2051-07-25",
  "can_access_all_assets": true,
  "accessible_assets": null
}'
{
  "message": "Invite created successfully",
  "invite": {
    "id": 1,
    "email": "user@example.com",
    "token": "abc123",
    "expires_at": "2024-01-01T00:00:00Z"
  },
  "invite_token": "abc123",
  "invite_links": {
    "web": "https://app.volttime.com/site/invite/accept?site_id=1&email=user@example.com&token=abc123",
    "deep_link": "pluggy://invite/abc123"
  }
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

site_uuid
string
required

Body

application/json

Response

201 - application/json

Invite created successfully

The response is of type object.